package test;

import java.util.Stack;
import java.util.Vector;

public class StackDemo {
    public static void main(String[] args) {
        Stack stack = new Stack();
        System.out.println(stack.empty());
        stack.push("EDG");
        System.out.println(stack.peek());
        stack.push("RNG");
        stack.push("TES");
        stack.pop();
        System.out.println(stack);
        System.out.println(stack.search("EDG"));
        System.out.println(stack.search("RNG"));


    }
}
